import service from "@/utils/request";

export function loginService(userAccount,userPassword) {
    return service({
        url: "/sysuser/login",
        method: "post",
        data: {userAccount,userPassword},
    })
}

export function getUserInfoService() {
    return service({
        url: "/sysuser/info",
        method: "get",
    })
}

export function exitLoginService() {
    return service({
        url: "/sysuser/exitlogin",
        method: "delete",
    })
}